package cn.tedu.crm.dictoption.mapper;

import cn.tedu.crm.dictoption.pojo.dto.DictOptionQuery;
import cn.tedu.crm.dictoption.pojo.entity.DictOption;
import cn.tedu.crm.dictoption.pojo.vo.DictOptionVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DictOptionMapper extends BaseMapper<DictOption> {
    List<DictOptionVO> selectDictOption(DictOptionQuery dictOptionQuery);


    void updateDictOption(DictOption dictOption);

    void deleteDictOption(Long id);

    void deleteDictOptionByDictId(Long id);
}
